﻿#parse("partials/header.html") #parse("partials/sidebar.html")
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery("#formID").submit(
            function () {
                if (jQuery("#formID").valid() == true) {
                    jQuery.blockUI();
                    var post_data = jQuery(this).serialize();
                    var form_action = jQuery(this).attr("action");
                    var form_method = jQuery(this).attr("method");
                    jQuery.ajax({
                        type: form_method,
                        url: form_action,
                        cache: false,
                        dataType: "json",
                        data: post_data,
                        success: function (data) {
                            jQuery("#notif").html(data['strNotification']);
                            jQuery.unblockUI();
                        },
                        error: function (data) {
                            jQuery.unblockUI();
                        },
                        complete: function () {

                        }
                    });
                }
                return false;
            });
    });


</script>
<div id="mws-container" class="clearfix">
    <div class="container">
        <div class="mws-panel grid_8">
            <div class="title-caption">
                <h5>
                    $headerinformation - Purchase Requisition</h5>
            </div>
            #parse("purchasing/formpurchaserequisition.html")
        </div>
    </div>
#parse("partials/footer.html")